package com.mlj.dao;

import com.mlj.pojo.Student;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer studentId);

    int insert(Student record);

    Student selectByPrimaryKey(Integer studentId);

    List<Student> selectAll();

    int updateByPrimaryKey(Student record);

    List<Student> findStudentListByPage(Integer start, Integer limit);

    Integer selectCount();

    void deleteBatch(Integer[] ids);

    void insertStudent(String studentName , String studentCode , String studentTelephone, Integer studentSex, String studentEnrolment , String studentClass , Integer studentStatus);

    void delStudentById(Integer id);

    int updateStudentById(Student student);

    List<Student> searchStudentByTimeAndKw(Map<String, Object> paraMaps);

    Integer searchCountByTimeAndKw(Map<String, Object> paraMaps);
}